/*
This is a final Class that holds the text and the code of the actions used by the SCUMMActionBar class
*/

class SCUMMGameControl.SCUMMActionDescriptor{
	public static var WALK_TO:Number = 0;
	public static var GIVE:Number = 1;
	public static var GET:Number = 2;
	public static var USE:Number = 3;
	public static var OPEN:Number = 4;
	public static var CLOSE:Number = 5;
	public static var PUSH:Number = 6;
	public static var PULL:Number = 7;
	public static var LOOK_AT:Number = 8;
	public static var TALK_TO:Number = 9;
	//This should change acording to the languaje
	public static var aActionsArray:Array = new Array("Ir a",
								"Dar",
								"Recojer",
								"Usar", 
								"Abrir", 
								"Cerrar", 
								"Empujar", 
								"Tirar", 
								"Mirar", 
								"Hablar a");
	/*
	this is the "parameter argument cuantifier array"(that was log a?)
	its saoys the number of parameters required from an action in order to complete a task
	0 means that the cuantity of parameters depends of the object, in that case the value is contained
	in the SCUMMSceneItem object
	*/
	public static var aActionsParametersArray:Array = new Array( 1, 2, 1, 0, 1, 1, 1, 1, 1, 1);

	//Returns the text of the action							
	public static function getStatusText(pnAction:Number):String{
		return aActionsArray[pnAction];
	}							
}